package cn.ad.model;

import org.apache.ibatis.type.Alias;

/**
 * 广告订单信息model
 * Created by helong.zhao on 2016/7/26.
 */
@Alias("adViewCampaignModel")
public class AdViewCampaignModel {
    /**
     * 订单ID
     */
    private String adId;
    /**
     * 订单名称
     */
    private String adName;
    /**
     * 系统类型 -1 全部 0 安卓 1 IOS(默认为-1表示全部)
     */
    private Integer system;
    /**
     * 行业类型
     */
    private Integer businessType;
    /**
     * 投放开始时间
     */
    private String startDate;
    /**
     * 投放结束时间
     */
    private String endDate;

    public String getAdId() {
        return adId;
    }

    public void setAdId(String adId) {
        this.adId = adId;
    }

    public String getAdName() {
        return adName;
    }

    public void setAdName(String adName) {
        this.adName = adName;
    }

    public Integer getSystem() {
        return -1;
    }

    public void setSystem(Integer system) {
        this.system = system;
    }

    public Integer getBusinessType() {
        return businessType;
    }

    public void setBusinessType(Integer businessType) {
        this.businessType = businessType;
    }

    public String getStartDate() {
        return startDate;
    }

    public void setStartDate(String startDate) {
        this.startDate = startDate;
    }

    public String getEndDate() {
        return endDate;
    }

    public void setEndDate(String endDate) {
        this.endDate = endDate;
    }

    @Override
    public String toString() {
        return "{" +
                "adId:'" + adId + '\'' +
                ", adName:'" + adName + '\'' +
                ", system:" + getSystem() +
                ", businessType:" + businessType +
                ", startDate:'" + startDate + '\'' +
                ", endDate:'" + endDate + '\'' +
                '}';
    }
}
